<!doctype html>
<html>
<head>
    <#include "include/common.header.ftl" >
    <script type="text/javascript" src="/js/tongji.js"></script>
</head>
<body style="margin: 1px">
<table id="dg" title="用户反馈" class="easyui-datagrid"
       fitColumns="true" pagination="true" rownumbers="true"
       url="/demo01/tongjiPage?state=32&limit=10&sort=time" fit="true" toolbar="#tb">
    <thead>
    <tr>
        <th field="cb" checkbox="true" align="center"></th>
        <th field="type" width="50" align="center">收支类型</th>
        <th field="time" width="50" align="center" >收支时间</th>
        <th field="count" width="50" align="center" >收支金额</th>
        <th field="message" width="150" align="center">收支信息</th>
    </tr>
    </thead>
</table>
<div id="tb">
<div>
       <!-- <a href="javascript:openSaleChanceAddDialog()" class="easyui-linkbutton" iconCls="icon-add" plain="true">创建</a>-->
        <a href="javascript:openSaleChanceModifyDialog()" class="easyui-linkbutton" iconCls="icon-edit" plain="true">详情/修改</a>
        <a href="javascript:deleteSaleChance()" class="easyui-linkbutton" iconCls="icon-remove" plain="true">删除</a>
    </div>
    <div>
        &nbsp;收支类型：&nbsp;<input type="text" id="s_phoneNumber" size="20" onkeydown="if(event.keyCode==13) searchSaleChance()"/>
        &nbsp;收支金额：&nbsp;<input type="text" id="s_orderNumber" size="20" onkeydown="if(event.keyCode==13) searchSaleChance()"/>
    	
    </select>
        <a href="javascript:searchSaleChance()" class="easyui-linkbutton" iconCls="icon-search" plain="true">搜索</a>
    </div>
</div>
<div id="dlg" class="easyui-dialog" style="width:700px;height:450px;padding: 10px 20px"
     closed="true" buttons="#dlg-buttons">
        <input type="text" id="tag" name="tag" value="0"  hidden="true"/>

    <form id="fm" method="post">
        <table cellspacing="8px">
            <tr>
                <td>收支类型：</td>
                <td><input type="text"   id="type" name="type" class="easyui-validatebox" required="true"/></td>
                <td>收支时间：</td>
                <td><input type="text"   id="time" name="time" class="easyui-datetimebox" required="true"/></td>
            </tr>
            <tr>
                <td>收支金额：</td>
                <td><input type="text"   id="count" name="count" class="easyui-validatebox" required="true" /></td>
                <td>收支信息：</td>
                <td><input type="text" id="message" name="message" class="easyui-validatebox "  required="true" /></td>
            </tr>
             <tr>
                <td>收支ID：</td>
                <td><input type="text" class="easyui-tooltip" title="*不能修改"  id="id" name="id" class="easyui-validatebox" required="true" /></td>
             </tr>
          
           
        </table>
    </form>
</div>

<div id="dlg-buttons">
    <a href="javascript:saveSaleChance()" class="easyui-linkbutton" iconCls="icon-ok">保存</a>
    <a href="javascript:closeSaleChanceDialog()" class="easyui-linkbutton" iconCls="icon-cancel">关闭</a>
</div>
</body>
</html>